[INFO] cloning repository https://github.com/swd543/impasse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swd543/impasse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c377ecf537252fbeb8876ece362fe86f89e35e3
[INFO] checking swd543/impasse against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swd543/impasse
[INFO] finished tweaking git repo https://github.com/swd543/impasse
[INFO] tweaked toml for git repo https://github.com/swd543/impasse written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swd543/impasse on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swd543/impasse already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a91d314c7b28ae5fc15f56fc6bf24d81fe2d1aea6386f9a7a71b015cbbd1c527
[INFO] running `Command { std: "docker" "start" "-a" "a91d314c7b28ae5fc15f56fc6bf24d81fe2d1aea6386f9a7a71b015cbbd1c527", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a91d314c7b28ae5fc15f56fc6bf24d81fe2d1aea6386f9a7a71b015cbbd1c527", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a91d314c7b28ae5fc15f56fc6bf24d81fe2d1aea6386f9a7a71b015cbbd1c527", kill_on_drop: false }`
[INFO] [stdout] a91d314c7b28ae5fc15f56fc6bf24d81fe2d1aea6386f9a7a71b015cbbd1c527
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70a4e383fbc84eff324a97c1317fd899f1c43dd67aea21c3974bb3681224f078
[INFO] running `Command { std: "docker" "start" "-a" "70a4e383fbc84eff324a97c1317fd899f1c43dd67aea21c3974bb3681224f078", kill_on_drop: false }`
[INFO] [stderr]     Checking impasse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/main.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Product`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/main.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Product`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          -- ^^^^^^^^^^^^^^^^^ expected `State`, found `&State`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `&State` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          ^^^-----------------^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/result.rs:552:5
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 75 -         &Ok(&self.state[0][0])
[INFO] [stdout] 75 +         &Ok(self.state[0][0])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/main.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn valid_moves(&self, position: Coord){
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut board = Board::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          -- ^^^^^^^^^^^^^^^^^ expected `State`, found `&State`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `&State` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          ^^^-----------------^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/result.rs:552:5
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 75 -         &Ok(&self.state[0][0])
[INFO] [stdout] 75 +         &Ok(self.state[0][0])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/main.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn valid_moves(&self, position: Coord){
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut board = Board::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `impasse` (bin "impasse") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `impasse` (bin "impasse" test) due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "70a4e383fbc84eff324a97c1317fd899f1c43dd67aea21c3974bb3681224f078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70a4e383fbc84eff324a97c1317fd899f1c43dd67aea21c3974bb3681224f078", kill_on_drop: false }`
[INFO] [stdout] 70a4e383fbc84eff324a97c1317fd899f1c43dd67aea21c3974bb3681224f078
